from django.contrib.auth.models import User
from django.db import models
# 经验反馈相关模型
# Create your models here.


class FeedBack(models.Model):
    outage = models.CharField(max_length=16)
    team = models.CharField(max_length=32)
    title = models.TextField()
    detail = models.TextField()
    occurDate = models.DateField()
    reason = models.TextField()
    measure = models.TextField()
    create_time = models.DateField(auto_now_add=True)
    create_user = models.CharField(max_length=32, blank=True, null=True)
    is_delete = models.BooleanField(default=False)

    def __str__(self):
        return self.title
